package tech.eyao.hs60x.enums;

/**
 * @author hejian
 * @date 2017年12月20日 上午10:24:48
 */
public enum ClientType {
	WACTH(1, "手表端"),
    PHONE_ANDROID(2,"手机android端"),
    PHONE_IOS(3,"手机ios端");

	private int value;
	private String	desc;
	
	public static ClientType getByValue(int value){
        for (ClientType type : ClientType.values()){
            if (type.value == value){
                return type;
            }
        }
        return null;
    }
	
	private ClientType(int value,String desc){
        this.value = value;
        this.desc = desc;
    }

	public int getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}
}
